package top.yuzt.animalserver.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuzt
 * @since 2024-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Feed implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 投喂时间
     */
    private String createTime;

    private Integer animalId;

    private Integer keeperId;

    /**
     * 投喂食物名称
     */
    private String foodName;

    /**
     * 投喂食物的重量
     */
    private Double foodWeigh;

    /**
     * 动物吃完后增加的重量 
     */
    private Double animalAddWeigh;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getAnimalId() {
        return animalId;
    }

    public void setAnimalId(Integer animalId) {
        this.animalId = animalId;
    }

    public Integer getKeeperId() {
        return keeperId;
    }

    public void setKeeperId(Integer keeperId) {
        this.keeperId = keeperId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Double getFoodWeigh() {
        return foodWeigh;
    }

    public void setFoodWeigh(Double foodWeigh) {
        this.foodWeigh = foodWeigh;
    }

    public Double getAnimalAddWeigh() {
        return animalAddWeigh;
    }

    public void setAnimalAddWeigh(Double animalAddWeigh) {
        this.animalAddWeigh = animalAddWeigh;
    }
}
